﻿using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;

namespace TMV.Models.Input
{
    public class ApplicationRole : IdentityRole
    {
        public ApplicationRole()
            : base()
        {
            Permissions = new HashSet<Permission>();
        }

        public ApplicationRole(string name/*, string description*/)
            : base(name)
        {
            //this.Description = description;
            Permissions = new HashSet<Permission>();
        }

        //public virtual string Description { get; set; }

        #region Relationship
        public virtual ICollection<Permission> Permissions { get; set; }
        #endregion
    }
}